package com.ali.item.common;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description
 * @Author Alistair.Chow
 * @date 2019/1/30 15:20
 */
public class ItemSkuOutput {
    private Integer id;
    /** 名字 **/
    private String name;
    /** 商品ID **/
    private Integer itemId;
    /** 库存 **/
    private Integer stock;
    /** 单价 **/
    private BigDecimal price;
    /** 图片 **/
    private String picture;
    /** 属性 **/
    private String properties;
    /** 条形码 **/
    private String barCode;
    /** 产品编码 **/
    private String productCode;
    /** 创建时间 **/
    private Date createTime;
    /** 更新时间 **/
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getProperties() {
        return properties;
    }

    public void setProperties(String properties) {
        this.properties = properties;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ItemSkuOutput{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", itemId=" + itemId +
                ", stock=" + stock +
                ", price=" + price +
                ", picture='" + picture + '\'' +
                ", properties='" + properties + '\'' +
                ", barCode='" + barCode + '\'' +
                ", productCode='" + productCode + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
